Skip to content

Sharing work for modernizing this for OCP v4#3

Open
therevoman wants to merge 4 commits intokkohtaka:masterfrom
therevoman:master
Open

Sharing work for modernizing this for OCP v4#3
therevoman wants to merge 4 commits intokkohtaka:masterfrom
therevoman:master

Conversation

@therevoman
Copy link

This contains many updates
Coral.ai libraries re-worked and updated
debian base image changed to Bullseye
go libraries cleaned up and updated a bit
plugin container modified to use k8s.io/client-go@v0.18.19 instead of the older style k8s.io/kubernetes
sample container modified to run as anyuid

Paths have been changed to my repositories, feel free to change those back

therevoman and others added 4 commits September 2, 2021 13:26
Modernization for OCP 4.
Update Debian to bullseye
Update Coral.ai components
Update go build to use k8s api 1.18.19 through client-go instead of k8s.io/kubernetes directly
Reworked sample container to run as a non-privileged anyuid container
@runningman84
Copy link

runningman84 commented Feb 5, 2022

@therevoman hi Nate would you mind adding coral tpu pcie support for your project?

my lspci output looks like this:

05:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU (prog-if ff)
        Subsystem: Global Unichip Corp. Coral Edge TPU
        Flags: bus master, fast devsel, latency 0, IRQ 20
        Memory at a1200000 (64-bit, prefetchable) [size=16K]
        Memory at a1100000 (64-bit, prefetchable) [size=1M]
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [d0] MSI-X: Enable+ Count=128 Masked-
        Capabilities: [e0] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [f8] Power Management version 3
        Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
        Capabilities: [108] Latency Tolerance Reporting
        Capabilities: [110] L1 PM Substates
        Capabilities: [200] Advanced Error Reporting
        Kernel driver in use: apex
        Kernel modules: apex

I use the node feature discovery to find nodes with usb and pci devices like this:

          - name: "coral-tpu-usb"
            matchOn:
              - usbId:
                  vendor: ["1a6e", "18d1"]
          - name: "coral-tpu-pci"
            matchOn:
              - pciId:
                  vendor: ["0880", "1ac1"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants